<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录、注册接口_半步网接口开发说明文档</title>
<style>
body{line-height:22px;}
a{color:#06F;text-decoration:none;}
.smalltitle{color:#00F}
</style>
</head>

<body>
<table width="950" border="0" align="center" cellpadding="5" cellspacing="0">
  <tr>
    <td height="32" align="center"><strong><a href="interface.html">半步网接口开发说明文档</a></strong></td>
  </tr>
  <tr>
    <td bgcolor="#EEEEEE">//上传文件</td>
  </tr>
  <tr>
    <td><em><strong>网址</strong></em>　<span class="smalltitle">http://www.halfeet.com/_post_file/_post_file_byuser.php?jsonfrom=</span><br>
      <em><strong>参数　</strong></em>{&quot;fc&quot;:&quot;<span class="smalltitle">post_file_byuser</span>&quot;,&quot;loginid&quot;:&quot;0707138-BBA7CD0A-6BCA-B760-3C69-7A1AC10B522A&quot;,&quot;extname&quot;:&quot;jpg&quot;,&quot;sfile&quot;:&quot;base64编码的文件&quot;}<br>
      <em><strong>返回　</strong></em>{&quot;fc&quot;:&quot;<span class="smalltitle">post_file_byuser</span>&quot;,&quot;ok&quot;:&quot;y&quot;,&quot;fileurl&quot;:&quot;http://192.168.1.104/upload-file/2012_08/08_20/707205138-BBA7CD0A-6BCA-B760-3C69-7A1AC10B522A.jpg&quot;}<br />
      <br>
      loginid值为用户登录id<br />
      extname值为文件扩展名定义<br />
      sfile值为base64编码后的文件<br />
      <br>
    ok值为y表示完成，值为n表示失败<br />
    fileurl值为文件保存的地址</td>
  </tr>
  <tr>
    <td bgcolor="#EEEEEE">//好友列表</td>
  </tr>
  <tr>
    <td><em><strong>网址</strong></em>　<span class="smalltitle">http://www.halfeet.com/_post_file/_post_file_byuser.php?jsonfrom=</span><br />
      <em><strong>参数　</strong></em>{&quot;fc&quot;:&quot;<span class="smalltitle">post_file_byuser</span>&quot;,&quot;loginid&quot;:&quot;0707138-BBA7CD0A-6BCA-B760-3C69-7A1AC10B522A&quot;,&quot;extname&quot;:&quot;jpg&quot;,&quot;sfile&quot;:&quot;base64编码的文件&quot;}<br />
      <em><strong>返回　</strong></em>{&quot;fc&quot;:&quot;<span class="smalltitle">post_file_byuser</span>&quot;,&quot;ok&quot;:&quot;y&quot;,&quot;fileurl&quot;:&quot;http://192.168.1.104/upload-file/2012_08/08_20/707205138-BBA7CD0A-6BCA-B760-3C69-7A1AC10B522A.jpg&quot;}<br />
      <br />
      loginid值为用户登录id<br />
      extname值为文件扩展名定义<br />
      sfile值为base64编码后的文件<br />
      <br />
      ok值为y表示完成，值为n表示失败<br />
      fileurl值为文件保存的地址</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td bgcolor="#FFCC00">//******上传文件、管理上传文件*****</td>
  </tr>
  <tr>
    <td align="center"><a href="index.html">返回首页</a></td>
  </tr>
</table>
</body>
</html>
